package com.tencent.smtt.sdk;

import android.content.Context;
import android.os.Handler;
import android.os.Looper;

/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes2.dex */
public final class h extends Thread {
    final /* synthetic */ Context a;
    final /* synthetic */ String b;
    final /* synthetic */ ValueCallback c;

    /* JADX INFO: Access modifiers changed from: package-private */
    public h(Context context, String str, ValueCallback valueCallback) {
        this.a = context;
        this.b = str;
        this.c = valueCallback;
    }

    @Override // java.lang.Thread, java.lang.Runnable
    public void run() {
        bt a = bt.a();
        a.a(this.a);
        new Handler(Looper.getMainLooper()).post(new i(this, a.b() ? a.c().a(this.a, this.b) : false));
    }
}
